foreign tax credit calculation example